projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7107fed
)
Don't offer languages we don't have.
author
robertlipe
<robertlipe@gmail.com>
Sun, 4 Sep 2011 21:30:32 +0000
(21:30 +0000)
committer
robertlipe
<robertlipe@gmail.com>
Sun, 4 Sep 2011 21:30:32 +0000
(21:30 +0000)
gpsbabel/gui/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/gpsbabel/gui/mainwindow.cpp
b/gpsbabel/gui/mainwindow.cpp
index 42c828c6ff5862459c4c9b2f33d70199bbf73b5c..56a8913adbb6500dbbb48c336d6e0460ac3d8338 100644
(file)
--- a/
gpsbabel/gui/mainwindow.cpp
+++ b/
gpsbabel/gui/mainwindow.cpp
@@
-250,7
+250,7
@@
void MainWindow::createLanguageMenu(void)
langPath.append("/translations");
//fprintf(stderr, "Looking in %s\n", qPrintable(langPath));
QDir dir(langPath);
- QStringList fileNames = dir.entryList(QStringList("*.qm"));
+ QStringList fileNames = dir.entryList(QStringList("
GPSBabelFE
*.qm"));
for (int i = 0; i < fileNames.size(); ++i) {
// get locale extracted by filename